Returns an instance of a class loaded from a .NET assembly. The instance can be used with ExternalCall to call methods on the class.
Syntax
LoadExternalAssembly("AssemblyPath", "ClassName")
Arguments
| Argument | Description |
|---|---|
| AssemblyPath | Path to the assembly. |
| ClassName | Fully qualified class name including namespace. |
Return value
| Value | Description |
|---|---|
| Value | Instance of the class loaded from the .NET assembly. |
Example
asmPixels = LoadExternalAssembly("%SCRIPTS%\\QAWProPixels.dll", "QAWProPixels.QAWProPixels")
pixelValue = ExternalCall(asmPixels, "GetRGBValueAt", 100, 150)